<?php
/*
 *  @author Nicolas Genevaux
 * (c)nige 2008
 */
	include_once($RACINE.'inc/fct.basedonnee.php');
	include_once($RACINE.'inc/sql.questionnaire.php');
	$res = doSQLArray($QUESTIONNAIRE_SELECT_INMA,array(0=>$_SESSION['ID_CONECT'],1=>$_GET['idmat'],2=>($_GET['rang']+0)*24,3=>($_GET['rang']+1)*24));
	$lastId = -1;
?>
	<b><u>Question</u></b>
	<br />
	<?= $res[0]['question'] ?>
	<br /><br />
	<b><u>R&eacute;ponse</u></b>
	<br />
	<?= $res[0]['choix'.$res[0]['reponse']] ?>
	<br /><br />
	<input type="hidden" value="<?= $res[0]['identifiant'] ?>" name="identifiantexercice" />
